<template>
	<view style="height: 100vh;background: #f1f1f1;width: 750rpx;display: inline-block;">
		<view style="width: 700rpx;margin: auto;" class="" v-if="info.id">
			<view class="" style="margin: 20rpx 0;">
				<u-section :right="false" :arrow="false" title="用户信息"></u-section>
			</view>
			<u-cell-group>
				<u-cell-item title="用户" :value="info.nickname" :arrow="false"></u-cell-item>
				<u-cell-item title="用户手机号" :value="info.mobile" :arrow="false"></u-cell-item>
				<u-cell-item title="用户车牌" :value="info.cn" :arrow="false"></u-cell-item>
			</u-cell-group>
			
			<view class="" style="margin: 20rpx 0;">
				<u-section :right="false" :arrow="false" title="订单详情"></u-section>
			</view>
			<u-cell-group>
				<u-cell-item title="订单号" :value="info.outTradeNo" :arrow="false"></u-cell-item>
				<u-cell-item title="服务时间" :value="info.createTime" :arrow="false"></u-cell-item>
				<u-cell-item title="车位号" :value="info.carportName" :arrow="false"></u-cell-item>
				<u-cell-item title="使用时长" :value="`${info.minute}`+'分'+`${info.time}`+'秒' " :arrow="false"></u-cell-item>
				<u-cell-item title="支付方式" :value="info.payWay" :arrow="false"></u-cell-item>
				<u-cell-item title="支付金额" :value="info.totalMoney" :arrow="false"></u-cell-item>
			
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				info:{}
			}
		},
		onLoad(options) {
			if(options.txt){
				this.info=JSON.parse(options.txt);
			}
		}
	}
</script>

<style>
</style>
